#ifndef __BASE_H__
#define __BASE_H__

uint8_t short_string_fill(ShortString pdest, const uint8_t *psrc);
int32_t short_string_cpy(ShortString dest, uint8_t dest_len, const ShortString src);
bool short_string_is_valid(ShortString pstr);
uint8_t* short_string_strstr(ShortString str, const char *needle);
void short_string_content_len_get(ShortString str, char **pansi, uint8_t *plen);
uint8_t short_string_total_len_get(ShortString str);

#ifdef TEST_ENABLE
void short_string_test(void);
#endif

#endif

